<%-- 
    Document   : Home
    Created on : Aug 30, 2014, 9:14:36 AM
    Author     : thanhap
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">

    <title>B2oS site</title>

    <!-- Bootstrap Core CSS -->
    <link href="css/bootstrap.min.css" rel="stylesheet">

    <!-- Custom CSS -->
    <link href="css/agency.css" rel="stylesheet">
    <link href="css/owl.carousel.css" rel="stylesheet">
    <link href="css/common.css" rel="stylesheet">

    <!-- Custom Fonts -->
    <link href="font-awesome-4.1.0/css/font-awesome.min.css" rel="stylesheet" type="text/css">
    <link href="http://fonts.googleapis.com/css?family=Montserrat:400,700" rel="stylesheet" type="text/css">
    <link href='http://fonts.googleapis.com/css?family=Kaushan+Script' rel='stylesheet' type='text/css'>
    <link href='http://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
    <link href='http://fonts.googleapis.com/css?family=Roboto+Slab:400,100,300,700' rel='stylesheet' type='text/css'>

</head>

<body id="page-top" class="index">

    <!-- main menu -->
        <nav class="navbar navbar-default navbar-fixed-top navbar-shrink">
        <div class="container">
            <!-- Brand and toggle get grouped for better mobile display -->
            <div class="navbar-header page-scroll">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a class="navbar-brand page-scroll" href="Home.jsp">Bo2S</a>
            </div>

            <!-- Collect the nav links, forms, and other content for toggling -->
            <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                <ul class="nav navbar-nav navbar-right">
                    <li class="hidden">
                        <a href="#page-top"></a>
                    </li>
                    <li>
                        <a class="page-scroll" href="about.jsp">About</a>
                    </li>
                    <!-- <li>
                        <a class="page-scroll" href="#services">Services</a>
                    </li> -->
                    <li>
                        <a class="page-scroll" href="project.jsp">Project</a>
                    </li>
                    
                    <!-- <li>
                        <a class="page-scroll" href="#team">Team</a>
                    </li> -->
                    <li>
                        <a class="page-scroll" href="contact.jsp">Contact</a>
                    </li>
                     <%
            String urlRederect = (String) session.getAttribute("user");
           if(urlRederect == null) {            
                    out.println("<li><a class=\"page-scroll\" href=\"Login.jsp\" >Login</a></li>");
                    session.removeAttribute("user");
           } else {%>
                    <li class="dropdown">
                <%
                    out.println("<a href=\"#\" class=\"dropdown-toggle\" data-toggle=\"dropdown\"><i class=\"fa fa-user\"></i>"); 
                    out.println(urlRederect);  
                    out.println("<b class=\"caret\"></b></a>"); } %> 
                    <ul class="dropdown-menu">
                        <li>
                            <a class="bg-primary" href="Employee/proFile.jsp"><i class="fa fa-fw fa-user"></i> Profile</a>
                        </li>
                        <li>
                            <a class="bg-primary" href="#"><i class="fa fa-fw fa-gear"></i> Settings</a>
                        </li>
                        <li>
                            <a class="bg-primary" href="${pageContext.request.contextPath}/Logout.jsp"><i class="fa fa-fw fa-power-off"></i> Log Out</a>
                        </li>
                    </ul>
                </ul>
            </div>
            <!-- /.navbar-collapse -->
        </div>
        <!-- /.container-fluid -->
    </nav>

    <!-- end main menu -->

    <!-- content****************************** -->

    <section id="banner-home" class="bg-light-gray">
        <div class="container">
            <div class="row banner-home">
                <div class="col-md-4">
                    <div class="md-4-content">
                        <h2 class="section-heading">Welcome you to our team !</h2>
                        <img class="section-subheading text-muted" src="img/logos/bo2s.png" width="80" height="160" alt="BO2S"/>
                    </div>
                </div>
                <div class="col-md-8">
                    
                    <img src="img/team/team.jpg">
                </div>
            </div>
            <div class="row home-category">
                <div class="col-md-4">
                    <h2 class="">Share</h2>
                    <img src="img/portfolio/roundicons.png" class="img-responsive" alt="">
                    <ul>
                        <li><h3 class="section-subheading text-muted"><a href="">Lorem ipsum dolor sit amet consectetur.</a></h3></li>
                        <li><h3 class="section-subheading text-muted"><a href="">Lorem ipsum dolor sit amet consectetur.</a></h3></li>
                        <li><h3 class="section-subheading text-muted"><a href="">Lorem ipsum dolor sit amet consectetur.</a></h3></li>
                        <li><h3 class="section-subheading text-muted"><a href="">Lorem ipsum dolor sit amet consectetur.</a></h3></li>
                        <li><h3 class="section-subheading text-muted"><a href="">Lorem ipsum dolor sit amet consectetur.</a></h3></li>
                    </ul>   
                    
                </div>
                <div class="col-md-4">
                    <h2 class="">Activities</h2>
                    <img src="img/portfolio/startup-framework.png" class="img-responsive" alt="">
                    <ul>
                        <li><h3 class="section-subheading text-muted"><a href="">Lorem ipsum dolor sit amet consectetur.</a></h3></li>
                        <li><h3 class="section-subheading text-muted"><a href="">Lorem ipsum dolor sit amet consectetur.</a></h3></li>
                        <li><h3 class="section-subheading text-muted"><a href="">Lorem ipsum dolor sit amet consectetur.</a></h3></li>
                        <li><h3 class="section-subheading text-muted"><a href="">Lorem ipsum dolor sit amet consectetur.</a></h3></li>
                        <li><h3 class="section-subheading text-muted"><a href="">Lorem ipsum dolor sit amet consectetur.</a></h3></li>
                    </ul>   
                </div>
                <div class="col-md-4 last">
                    <h2 class="">Projects</h2>
                    <img src="img/portfolio/treehouse.png" class="img-responsive" alt="">
                    <ul>
                        <li><h3 class="section-subheading text-muted"><a href="">Lorem ipsum dolor sit amet consectetur.</a></h3></li>
                        <li><h3 class="section-subheading text-muted"><a href="">Lorem ipsum dolor sit amet consectetur.</a></h3></li>
                        <li><h3 class="section-subheading text-muted"><a href="">Lorem ipsum dolor sit amet consectetur.</a></h3></li>
                        <li><h3 class="section-subheading text-muted"><a href="">Lorem ipsum dolor sit amet consectetur.</a></h3></li>
                        <li><h3 class="section-subheading text-muted"><a href="">Lorem ipsum dolor sit amet consectetur.</a></h3></li>
                    </ul>   
                </div>
            </div>
        </div>
    </section>

    <!-- end content****************************** -->


    <!-- footer  -->
        <footer>
            <div class="container">
                <div class="row">
                    <div class="col-md-4">
                        <span class="copyright">Copyright &copy; Your Website 2014</span>
                    </div>
                    <div class="col-md-4">
                        <ul class="list-inline social-buttons">
                            <li><a href="#"><i class="fa fa-twitter"></i></a>
                            </li>
                            <li><a href="#"><i class="fa fa-facebook"></i></a>
                            </li>
                            <li><a href="#"><i class="fa fa-linkedin"></i></a>
                            </li>
                        </ul>
                    </div>
                    <div class="col-md-4">
                        <ul class="list-inline quicklinks">
                            <li><a href="#">Privacy Policy</a>
                            </li>
                            <li><a href="#">Terms of Use</a>
                            </li>
                        </ul>
                    </div>
                </div>
            </div>
        </footer>
    <!-- end footer  -->
    <!-- jQuery Version 1.11.0 -->
    <script src="js/jquery-1.11.0.js"></script>

    <!-- Bootstrap Core JavaScript -->
    <script src="js/bootstrap.min.js"></script>

    <!-- Plugin JavaScript -->
    <script src="http://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js"></script>
    <!--<script src="js/classie.js"></script>-->
    <!--<script src="js/cbpAnimatedHeader.js"></script>-->

    <!-- Contact Form JavaScript -->
    <script src="js/jqBootstrapValidation.js"></script>
    <script src="js/contact_me.js"></script>

    <!-- Custom Theme JavaScript -->
    <!--<script src="js/agency.js"></script>-->
    <script src="js/owl.carousel.min.js"></script>
    <script src="js/common.js"></script>

</body>
</html>
